import http from '@/network/http';
import { BusinessType } from "@/api/moduleConfig"
// 登录
export const loginApi = (data : Base.GeneraDataType) => {
	return http({
		method: "post",
		url: `${BusinessType.base}/biz/user/login?clientType=MANAGE`,
		data
	});
}
// 获取用户信息
export const getUserInfoApi = (data: Base.GeneraDataType) => {
    return http({
    	method: "post",
    	url: `${BusinessType.base}/biz/user/query/info`,
        data
    });
}